package com.zhoutian.dao;

import com.zhoutian.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDAO {

    Integer save(User user);

    User selectByNameAndPassword(User user);

    Integer findByUsername(User user);

    Integer findIsMerchantByUser(User user);

    Integer findUserIdByUsername(User user);
}
